package com.ken.user.dto;

public class joinClassDto {
    private String id;//用户的学工号
    private String class_id;//要加入班级的班级id
    private String role;//加入用户的角色 0为学生，1为老师

    public joinClassDto() {
    }

    public joinClassDto(String id, String class_id, String role) {
        this.id = id;
        this.class_id = class_id;
        this.role = role;
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return class_id
     */
    public String getClass_id() {
        return class_id;
    }

    /**
     * 设置
     * @param class_id
     */
    public void setClass_id(String class_id) {
        this.class_id = class_id;
    }

    /**
     * 获取
     * @return role
     */
    public String getRole() {
        return role;
    }

    /**
     * 设置
     * @param role
     */
    public void setRole(String role) {
        this.role = role;
    }

    public String toString() {
        return "joinClassDto{id = " + id + ", class_id = " + class_id + ", role = " + role + "}";
    }
}
